﻿using DGZImp.MdsProject.Base;
using DGZImp.MdsProject.Devices.Base;
using DGZImp.MdsProject.Devices.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DGZImp.MdsProject.Devices.Entities
{
    public class RealDevice
    {
        public string Id { get; set; }
        public long? MachineId { get; set; }
        public string MachineCode { get; set; }
        public string Name { get; set; }
        public string AliasCode { get; set; }
        public RealDeviceTypeEmun Type { get; set; }
        public string ServeId { get; set; }
        public List<PlcDataMapItem> PlcDataMaps { get; set; }
        public BaseDevice Device { get; set; }
        
        /// <summary>
        /// 是否主设备
        /// </summary>
        public int? IsMasterDevice { get; set; }
    }
}
